Hello to all.
Does somebody know how I can export all formal modules from a folder?
Thank you in advanc
fold - Wed Aug 04 13:41:47 EDT 2010 |
|
Re: Export of all formal modules from a folder doors36677 - Wed Aug 04 16:01:46 EDT 2010
What do you mean when you say "Export"? Export doesn't have clear meaning.
|
|
Re: Export of all formal modules from a folder SystemAdmin - Thu Aug 05 21:58:37 EDT 2010
Exporting of DOORS formal modules can be achieved using the Archive feature which can be found under the File menu in the DOORS Explorer (DE) window.
The Archive feature will create an external copy of a selected formal module in the form of a special zip file (uses a .dma file extension). These archive files can be restored back into a DOORS server using the File\Restore feature.
NOTE Because your exporting just the formal module, this will not include any incoming or outgoing link information.
Rather than archiving each Formal Module one by one, you can archive them as a group. In order to do this, the parent folder needs to become a Project type folder. You can temporarily convert standard yellow folders into project type folders by using The File\Convert to Project menu option in the DOORS Explorer. You can then select the Project folder in the right hand pane of the DOORS Explorer window and then apply the archive feature - this will be stored externally with a .dpa file extension. You can then convert the project folder back to a standard yellow folder.
Hope that helps.
Paul Miller
|
|
Re: Export of all formal modules from a folder Mathias Mamsch - Fri Aug 06 06:08:26 EDT 2010 SystemAdmin - Thu Aug 05 21:58:37 EDT 2010
Exporting of DOORS formal modules can be achieved using the Archive feature which can be found under the File menu in the DOORS Explorer (DE) window.
The Archive feature will create an external copy of a selected formal module in the form of a special zip file (uses a .dma file extension). These archive files can be restored back into a DOORS server using the File\Restore feature.
NOTE Because your exporting just the formal module, this will not include any incoming or outgoing link information.
Rather than archiving each Formal Module one by one, you can archive them as a group. In order to do this, the parent folder needs to become a Project type folder. You can temporarily convert standard yellow folders into project type folders by using The File\Convert to Project menu option in the DOORS Explorer. You can then select the Project folder in the right hand pane of the DOORS Explorer window and then apply the archive feature - this will be stored externally with a .dpa file extension. You can then convert the project folder back to a standard yellow folder.
Hope that helps.
Paul Miller
Technically this is not 100% accurate. When you archive a module, the out- and inlinks are stored in the archive. They are just not restored, when you restore the module. If you would copy the archived module files directly to the server then the links would be there. Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|
Re: Export of all formal modules from a folder fold - Fri Aug 06 16:00:28 EDT 2010
Oh sorry (I'm a beginner),
I expressed myself wrongly.
With "export" I mean to export a formal module e.g. as csv-format.
What I want is to have a small dxl-script, which parses all formal modules in a folder and does the export (e.g. in csv-format).
I hope you know now better what I want
Best regards
|
|
Re: Export of all formal modules from a folder SystemAdmin - Fri Aug 06 18:38:50 EDT 2010 Mathias Mamsch - Fri Aug 06 06:08:26 EDT 2010
Technically this is not 100% accurate. When you archive a module, the out- and inlinks are stored in the archive. They are just not restored, when you restore the module. If you would copy the archived module files directly to the server then the links would be there. Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
Mathias wrote: "If you would copy the archived module files directly to the server then the links would be there"
Are you saying that if the archive file is unzipped back onto the DOORS DB server data area, that the module will appear with all links intact? As if you would easily know where to unzip within the DB file structure in the first place, and the zipped files in the archive are not the files that you typically see on the DB server anyway so what is it that your saying here?
Paul Miller
|
|
Re: Export of all formal modules from a folder Mathias Mamsch - Sat Aug 07 16:34:00 EDT 2010 SystemAdmin - Fri Aug 06 18:38:50 EDT 2010
Mathias wrote: "If you would copy the archived module files directly to the server then the links would be there"
Are you saying that if the archive file is unzipped back onto the DOORS DB server data area, that the module will appear with all links intact? As if you would easily know where to unzip within the DB file structure in the first place, and the zipped files in the archive are not the files that you typically see on the DB server anyway so what is it that your saying here?
Paul Miller
The module ID gives you the place where to copy the files. If the ID is for example 0005333 you look under V6Data/20/40/00005333.mod/ where you find the files of the module. The archive is really only a zipped copy of that directory, including all links (which are in treedata.dtc for outlinks, inlinks.dtc for the inlinks). You can rename the archive to zip. Then in the archive there is a file called 1.dac (which is again a zip file). You can ignore the direct.dac which is just an index, that tells you we have a module archive and tells you which .dac files correspond to which modules. You even have the choice when creating the archive to include the system backup files (i.e. the .dtb files) from the server.
The problem is, that when you only restore the one module, that the inlinks of the other modules will not be in sync with the outlinks of the other modules. Therefore you would need to open all those modules exclusive, then you might have a chance that DOORS recreates the missing inlinks from the target modules.
What I wanted to say is that in a module archive the outlinks are definitly included. Obviously neither Telelogic nor IBM would care to improve the restore mechanism of DOORS to restore links which would save us all a lot of trouble!
Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|
Re: Export of all formal modules from a folder Mathias Mamsch - Mon Aug 09 14:51:20 EDT 2010 fold - Fri Aug 06 16:00:28 EDT 2010
Oh sorry (I'm a beginner),
I expressed myself wrongly.
With "export" I mean to export a formal module e.g. as csv-format.
What I want is to have a small dxl-script, which parses all formal modules in a folder and does the export (e.g. in csv-format).
I hope you know now better what I want
Best regards
There are quite some similar requests already in that forum. I don't know of a public available solution, so you might need to do your own script. We probably can help you with all the questions that will arise during your "journey". Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|
Re: Export of all formal modules from a folder patrickc3000 - Mon Mar 21 17:07:05 EDT 2011 Mathias Mamsch - Mon Aug 09 14:51:20 EDT 2010
There are quite some similar requests already in that forum. I don't know of a public available solution, so you might need to do your own script. We probably can help you with all the questions that will arise during your "journey". Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
I, like the original poster, also am in need of a way to use dxl to batch export from a folder to .csv files. When you said, there were already similar posts in "that" forum, which forum did you mean?
|
|
Re: Export of all formal modules from a folder Mathias Mamsch - Tue Mar 22 05:58:23 EDT 2011 patrickc3000 - Mon Mar 21 17:07:05 EDT 2011
I, like the original poster, also am in need of a way to use dxl to batch export from a folder to .csv files. When you said, there were already similar posts in "that" forum, which forum did you mean?
I meant this very forum, but I probably should specify "similar" more. There are several requests for "batch" exporting or importing. You can use the normal spreadsheet export from DOORS for that, but you would need to call it several time. The following posts will help you with this:
Automating MS Word export
CSV Exporting
Automating RTF Import
Hope that helps, Regards, Mathias
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
|